﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace A2DFramework.SecurityService
{
    public class DESEncoder
    {
        private const string Key = "ABCDEFGH";
        public static string Encode(string text)
        {
            return RawDESEncryptor.Encode(text, Key);
        }

        public static string Decode(string text)
        {
            return RawDESEncryptor.Decode(text, Key);
        }
    }
}
